import request from '@/utils/request'

export default {

    //用户登录
    userLogin(user) {

        return request({

            url: '/ucenter/member/login',
            method: 'post',
            data: user
        })
    },

    //根据token获取用户信息,request
    getLoginUserInfo() {

        return request({

            url: '/ucenter/member/getInfo',
            method: 'get'
        })

    }


}